package com.zt.business.service;

import com.zt.model.entity.Power;
import com.zt.model.mapper.PowerMapper;

import java.util.List;

public class PowerService {

    private PowerMapper powerMapper;

    public int insert(Power pojo){
        return powerMapper.insert(pojo);
    }

    public int insertList(List< Power> pojos){
        return powerMapper.insertList(pojos);
    }

    public List<Power> select(Power pojo){
        return powerMapper.select(pojo);
    }

    public int update(Power pojo){
        return powerMapper.update(pojo);
    }

}
